const d = new Date("2024-3-6 17:47:23");
console.log(d.getDate()); // 6
console.log(d.getDay()); // 3
